package com.xcmg.employee.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;



@TableName("staff")
@Data
public class Staff {


    @TableId(value = "id",type = IdType.AUTO)
    private int id;

    @TableField("name")
    private String name;

    @TableField("age")
    private String age;

    @TableField("tel")
    private String tel;

    @TableField("departName")
    private String departName;


}
